package com.sixfoot.facade.resource;

import org.springframework.stereotype.Component;

import com.sixfoot.domain.Resource;
import com.sixfoot.foundation.mapping.adapter.AbstractDtoAdapter;

@Component
public class ResourceAdapter extends AbstractDtoAdapter<Resource, ResourceDto, ResourceInputArgs> {

	@Override
	public Resource postConvertToDo(ResourceInputArgs i, Resource d) {
		return postUpdate(i, d);
	}

	@Override
	public Resource postUpdate(ResourceInputArgs i, Resource d) {
		return d;
	}

}